package org.shoukaiseki.test.spring.multiple.datasource.config.mappers;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.shoukaiseki.test.spring.multiple.datasource.config.annotation.DataSourceOne;

/**
 * org.shoukaiseki.test.spring.multiple.datasource.config.mappers.OneMapper <br>
 *
 * @author 蒋カイセキ    Japan-Tokyo  2018-09-10 13:58:40<br>
 * ブログ http://shoukaiseki.blog.163.com/<br>
 * E-メール jiang28555@Gmail.com<br>
 **/

@Mapper
@DataSourceOne//使用数据源一
public interface OneMapper {
    
	@Select("select concat(DATABASE(),' ',VERSION()) as v from dual")
    String getVersion();


	String showDataBase();
}
